import { Module } from '@nestjs/common';
import { AppCollectionController } from './collection.controller';
import { AppCollectionService } from './collection.service';
import { HttpModule } from '@nestjs/axios';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Collection } from './collection.entity';
@Module({
  imports: [
    TypeOrmModule.forFeature([Collection]),
    HttpModule.register({
      timeout: 60000,
      maxRedirects: 5,
    }),
  ],
  controllers: [AppCollectionController],
  providers: [AppCollectionService],
  exports: [AppCollectionService],
})
export default class AppCollectionModule {}
